home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / 3DLIB11.ARJ / 3DC.DOC < prev    next >
Text File  |  1992-03-19  |  5KB  |  139 lines

  1.  
  2.  ╔══════════════════════════════════════════════════════════════════════════╗
  3.  ║                                                                          ║
  4.  ║                                 ISoft D&M                                ║
  5.  ║                                 POB. 5517                                ║
  6.  ║                           Coralville IA 52241                            ║
  7.  ║                                   U.S.A                                  ║
  8.  ║                                                                          ║
  9.  ╚══════════════════════════════════════════════════════════════════════════╝ 
  10.  
  11. *******************************************************************************
  12. *                              3dC DOCUMENTATION                              *
  13. * M3D macro translator to Turbo Pascal Source. V1.1                           *
  14. * Last Update : Mar. 19, 1992.                                                *
  15. *******************************************************************************
  16.  
  17.                                  INTRODUCTION
  18.                                  ------------
  19.  
  20.  
  21. 3dC is a translator that converts 3D animation macros (M3D files) into
  22. Turbo Pascal 6.0 source programs that can be used with the 3dLIB package
  23. to create 3D animation executables, or 3D animation procedures that can
  24. be implemented in your programs.
  25.  
  26. M3D macro programs can be animated for test purposes using the ISoft D&M 
  27. distributed 3D111 package, You can use 3DC to create animated programs
  28. without this package. 
  29.  
  30. Please notice : older versions of the 3D program that were distributed as 
  31. 3D100 and 3D110 packages are supported, but a small change in the macro
  32. language exist in the GOTO command, that uses ',' to separate arguments, 
  33. while the older versions used only spaces, that could cause improper
  34. translation when negative arguments were passed.
  35.  
  36.                                      USAGE
  37.                                      -----
  38.  
  39. At the command line type 
  40.  
  41. 3DC input.m3d [output.pas]
  42.  
  43. Where input.m3d is the name of the input macro language.
  44.  
  45. If no output name is specified 3DC creates a pascal source file called
  46. 3DPAS.PAS .
  47.  
  48. To compile the generated source file use Turbo Pascal 6.0 with the following
  49. command :
  50.  
  51. TPC /M source.pas 
  52.  
  53. Be sure that the compiler can find the GRAPH.TPU file supplied with 
  54. Turbo Pascal.
  55.  
  56. To run the executable created type it's name in the command line, 
  57. and be sure that the required graphic .BGI file is in the current
  58. directory. (please refer to your Turbo Pascal manual about your .BGI file).
  59.  
  60. More documentation regarding consideration of macro language translation is
  61. supplied for registered users of 3dLIB, in a printed manual.
  62.  
  63.                                 MACRO LANGUAGE
  64.                                 --------------
  65.  
  66. The following commands are supported by the 3DC translator in the 3D Macro 
  67. language :
  68.  
  69. c   - Clear Screen .
  70. w   - set Color to White.
  71. b   - set Color to Black.
  72. p   - Paint Active object in last color.
  73. o0  - set Perspective off.
  74. o1  - set Perspective on.
  75. >x   - Start a loop to be performed x times.
  76. lfl - Load simple object from file fl into the active object.
  77. Lfl - Load complex object from file fl into the active object.
  78. rad  - Rotate Active Element In axis a, d degrees.
  79. ex  - Choose Active Element x.
  80. mas  - Move in a axis, s steps.
  81. gx,y,z - Goto 3d pos x,y,z.
  82. saf  - Scale a axis in f factor.
  83. v0..v9 variable names.
  84. <    - End Loop.
  85. \    - End line.
  86. z    - set object to center.
  87. Rsad - rotate a sub object of a complex object
  88.         around axis a, d degrees.
  89. Msas - move a sub object of a complex object
  90.         in axis a, s steps.
  91. Ssaf - scale a sub object of a complex object
  92.         around axis a, by a factor of f.
  93.  
  94.  
  95.  
  96. Special Notes : a number must end with a space character.
  97.                 Loops can be nested 10 levels deep in the 3D111 package, 
  98.                 but 3DC can translate even more levels that.
  99.  
  100.                 any numeric expressions requested can be
  101.                 given with a normal infix notation, for
  102.                 example :
  103.  
  104.                 rx30 * v1 + 2
  105.  
  106.                 will rotate the current active object
  107.                 around the x axis, by 2 plus 30 * v1
  108.                 degrees, where v1 is a variable.
  109.  
  110.                                     General
  111.                                     -------
  112.  
  113.   3dLIB is distributed by ISoft D&M, P.O.B. 5517 CORALVILLE IA 52241, U.S.A.
  114.   
  115.   3dLIB is (c) copyrighted by Loewy Ron, 1991, 92.
  116.  
  117.   3dLIB is a shareware package, please register your copy. 
  118.   To register your copy of 3dLIB please refer to the supplied
  119.   3DLIB.REG file. 
  120.  
  121.   Other programs distributed by ISoft D&M are described in the supplied  
  122.   PROGRAMS.TXT file.
  123.  
  124.                                     Contact
  125.                                     -------
  126.  
  127.   Please contact :
  128.  
  129.   ISoft D&M,  
  130.   P.O.B 5517
  131.   Coralville IA 52241,
  132.   U.S.A
  133.  
  134.                                     Credits
  135.                                     -------
  136.  
  137.   3dLIB and 3dC were written using Turbo-Pascal V6.0, a copyright of 
  138.   Borland International.
  139.